(use-package lua-mode
  :ensure)
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode))
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
(defun starsoul-lua-mode ()
  (setq tab-width 2)
  (setq lua-indent-level 2)
  (setq indent-tabs-mode nil))
(add-hook 'lua-mode-hook 'starsoul-lua-mode)
(provide 'init_lua-mode)
